﻿
namespace M_Process.Domain.DTO
{
    /// <summary>
    /// 报工任务DTO
    /// </summary>
    public class ReportingProcessTaskDto
    {
        /// <summary>
        /// 报工ID
        /// </summary>
        public int ReportingId { get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        public int ReportingNum { get; set; }

        /// <summary>
        /// 报工编号
        /// </summary>
        public string? ReportingNumber { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string? EquipmentName { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string? EquipmentNumber { get; set; }

        /// <summary>
        /// 工位
        /// </summary>
        public string? Station { get; set; }

        /// <summary>
        /// 班组
        /// </summary>
        public string? TeamsAndGroups { get; set; }

        /// <summary>
        /// 工序任务Id
        /// </summary>
        public int ProcessTasksId { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string? Operator { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string? TaskNumber { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public string? TaskStatus { get; set; }

        /// <summary>
        /// 优先级
        /// </summary>
        public string? Priority { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        public string? ProductNumber { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
